import workerInfoTpl from './workerInfo.html';
import workerInfoCtrl from './workerInfo.controller';

function routeConfig($stateProvider) {
  'ngInject';

  $stateProvider
    .state('workerInfo', {
      parent: 'index',
      url: '/worker/list',
      templateUrl: workerInfoTpl,
      controller: workerInfoCtrl,
      controllerAs: 'vm',
    });
}

export default routeConfig;
